package com.top.up.constants;

/**
 * 微信公共URL
 */
public interface WxMiniAPI {

    // [微信小程序] 登录凭证校验
    String AUTH_CODE2SESSION_GET = "https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code";

    // [微信小程序] 获取全局唯一后台接口调用凭据
    String AUTH_ACCESSTOKEN_GET = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

    // [微信小程序] 发送订阅消息
    String AUTH_SUBSCRIBE_MESSAGE_POST = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=ACCESS_TOKEN";
}
